import { request } from "../request";


const getPersonalInfoAPI = async () => {
    const token = localStorage.getItem("token");
    return request("/api/auth/profile",{
        method: "get",
        headers: {"Content-Type":"application/x-www-form-urlencoded", 'Authorization':`Bearer ${token}`},
    })
}
export default getPersonalInfoAPI;